package com.cx330;

public class Example54 {
    public static void main(String[] args) {
        String str1 = "";
        String str2 = "  \t\n  ";
        System.out.println("字符串1[" + str1 + "]，isEmpty：" + str1.isEmpty() + "，isBlank：" + str1.isBlank());
        System.out.println("字符串2[" + str2 + "]，isEmpty：" + str2.isEmpty() + "，isBlank：" + str2.isBlank());
    }
}
